package com.lxb.store.service;

import com.lxb.store.entity.BuyGoods;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BuyGoodsService {

    public BuyGoods save(BuyGoods buyGoods);

    public boolean checkBuyGoodsExist(String userName,Integer goodsId,String goodsName,int goodsNum,String color);

    public Page<BuyGoods> findAll(Pageable pageable,String username);

    public void delete(Integer id);

    public void deleteNum(List<Integer> ids);
}

